package ztc.common;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Created by ztc on 16-4-6.下午5:30
 */
public class StuBean {
    String stuID;
    String name;
    String sex;
    String classs;
    String institute;
    String mac;
    String time;

    public StuBean() {
    }

    public StuBean(String stuID,String name,String sex,String classs,String institute,String mac) {
        this.name = name;
        this.stuID = stuID;
        this.sex = sex;
        this.classs=classs;
        this.institute=institute;
        this.mac=mac;
        SimpleDateFormat hm =new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        this.time=hm.format(new Date());
    }

    public StuBean(String stuID, String name, String sex, String classs, String institute, String mac, String time) {
        this.stuID = stuID;
        this.name = name;
        this.sex = sex;
        this.classs = classs;
        this.institute = institute;
        this.mac = mac;
        this.time = time;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStuID() {
        return stuID;
    }

    public void setStuID(String stuID) {
        this.stuID = stuID;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getMac() {
        return mac;
    }

    public void setMac(String mac) {
        this.mac = mac;
    }

    public String getTime() {
        return time;
    }

    public String getInstitute() {
        return institute;
    }

    public void setInstitute(String institute) {
        this.institute = institute;
    }

    public String getClasss() {
        return classs;
    }

    public void setClasss(String classs) {
        this.classs = classs;
    }

}
